package zheezes.demo.lang.type;

/**
 * this file can't be compiled
 * 
 * @author hcconquer@gmail.com
 */
public class GenericTypes1 {
//	public static void method(List<String> list) {
//		System.out.println("invoke string method!");
//	}
//
//	public static void method(List<Integer> list) {
//		System.out.println("invoke Integer method!");
//	}

	public static void main(String[] args) {
//		List<Integer> list = new ArrayList<Integer>();
//		List<String> list2 = new ArrayList<String>();
//		System.out.println(GenericTypes.method(list));
//		System.out.println(GenericTypes.method(list2));
		System.out.println("ok");
	}
}
